package ex01;

public class IdChecker{
	public static String idcheck(String id){
		String db_id = "aaa";
		String result=null;
				
		if(id.equals(db_id)) result="fail";
		else result="success";
		
		return result;
	}
	
	public static String test(String msg){
		return "서버를 거친"+msg;
	}
	
	public static PersonInfo beanTest(String name, String age){
		PersonInfo info = new PersonInfo();
		info.setName(name);
		info.setAge(age);
		
		return info;
	}

}
